#include "global.h"
using namespace std;

Node** nodeAll;
Node** nodeInput;
Node** nodeOutput;

int allCount;
int inputCount;
int outputCount;
int wireCount;
int maxLevel;

map<GType, string> gMap;
map<NType, string> nMap;
map<LType, string> lMap;
map<KWord, string> kMap;

thrust::host_vector<devNode>* gMatrix;
thrust::host_vector<devNode>* test;

thrust::host_vector<devNode*> stem_host;
thrust::device_vector<devNode*> stem_device;

vector<module*> moduleAll;
int* matrix;
